package CatDogduotai;

public class Cat extends Animal{

	public Cat() {}
	
	public Cat(String name,int age) {
		super.setAge(age);
		super.setName(name);
	}
	
	public void eatRice() {
		System.out.println("猫要吃饭");
	}
	
	

}
